/**
 * @file dialpad.h
 *
 */
#ifndef DIALPAD_H
#define DIALPAD_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_watch_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_watch_conf.h"
#endif

#if USE_LV_WATCH_DIALPAD

/**********************
 *      TYPEDEFS
 **********************/
typedef struct {
    lv_watch_obj_ext_t lv_watch_obj;
    /*New data for this type */
    lv_obj_t * ta;          //phone number text area
    lv_obj_t * cont_circle; //circle container
} lv_dialpad_obj_ext_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/
lv_obj_t * dialpad_create(lv_obj_t * activity_obj);
void dialpad_create_event_cb(lv_obj_t * btn, lv_event_t e);

/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_DIALPAD*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*DIALPAD_H*/
